package org.exez.modules.quartz.job;

import lombok.extern.slf4j.Slf4j;
import org.exez.common.util.DateUtils;
import org.exez.modules.visitor.service.IInstitutionService;
import org.exez.modules.visitor.service.SjyService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 示例带参定时任务
 *
 * @Author Scott
 */
@Slf4j
public class ApplicationDataDistributionJob implements Job {

	@Autowired
	private SjyService sjyService;

	@Override
	public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
		log.info("=============正在访客预约传输======================");
		Boolean aBoolean = sjyService.applicationDataDistribution();
		log.info("=============结束访客预约传输======================");
	}
}
